import request from '@/utils/request'

export function listAllDbxx(data) {
  return request({
    url: '/middleindex/dbxx/listAll',
    method: 'post',
    data
  })
}

export function searchDbxx(data) {
  return request({
    url: '/middleindex/dbxx/search',
    method: 'post',
    data
  })
}

export function getDbxx(data) {
  return request({
    url: `/middleindex/dbxx/get`,
    method: 'post',
    data
  })
}

export function saveDbxx(data) {
  return request({
    url: `/middleindex/dbxx/save`,
    method: 'post',
    data
  })
}

export function updateDbxx(data) {
  return request({
    url: '/middleindex/dbxx/update',
    method: 'post',
    data
  })
}

export function delDbxx(data) {
  return request({
    url: '/middleindex/dbxx/del',
    method: 'post',
    data
  })
}

export function publish(data) {
  return request({
    url: '/middleindex/dbxx/publish',
    method: 'post',
    data
  })
}


